<html>
    <head>
        <title>FreeMarker demo</title>
    </head>
    <body>
        <table border="1px solid #8968CD" style="border-collapse: collapse;">
            <tr>
                <th>ID</th>
                <th>PACKAGEID</th>
                <th>ASSETID</th>
                <th>标题</th>
                <th>演员</th>
                <th>导演</th>
                <th>状态</th>
            </tr>
            <#if vpgMovies.content?exists>
            <#list vpgMovies.content as movie>
                <tr>
                    <td>${movie.id?if_exists}</td>
                    <td>${movie.packageId?if_exists}</td>
                    <td>${movie.assetId?if_exists}</td>
                    <td>${movie.title?if_exists}</td>
                    <td>${movie.actors?if_exists}</td>
                    <td>${movie.director?if_exists}</td>
                    <td>
                        <#if movie.status?if_exists==1>
                            正常
                        <#elseif movie.status?if_exists==0>
                            删除
                        <#else>
                            其他
                        </#if>
                    </td>
                </tr>
            </#list>
            </#if>
        </table>
        共计${vpgMovies?if_exists.totalElements?if_exists}条&nbsp;&nbsp;&nbsp;&nbsp;
        ${vpgMovies?if_exists.number?if_exists}/
        ${vpgMovies?if_exists.totalPages?if_exists}&nbsp;&nbsp;&nbsp;&nbsp;
        当前:${vpgMovies?if_exists.numberOfElements?if_exists}条
    </body>
</html>